import React,{useState} from 'react'
import ChartBar from './components/ChartBar'
export default function App() {
  const [optionsData]=useState({
   month:['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],
   count:[7,77,87,56,45,67,89,88,28,30,56,5],
   count1:[17,87,97,66,55,77,99,78,38,20,26,3]
  })
  return (
    <div>
       <ChartBar optionsData={optionsData} height={"380px"} seriesName="招生人数" title="某培训机构2021全年招生情况"></ChartBar>
    </div>
  )
}
